package com.ocean.system.mapper;

import com.ocean.system.domain.ONotice;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ONoticeMapper {
    /**
     * 根据id查询
     * @param id
     * @return
     */
    ONotice selectNoticeById(@Param("id") String id);

    List<ONotice> selectONoticeList(ONotice notice);

    int insertNotice(ONotice notice);

    int updateNotice(ONotice notice);

    int deleteNoticeByIds(String[] noticeIds);
}
